<?php
/**
 * 股票技术面控制器
 * User: Woozee
 * Date: 2021/1/27
 * Time: 22:42
 */

namespace App\Http\Controllers\Stock;

use App\Http\Controllers\BaseController;
use App\Services\StockService;
use Illuminate\Http\Request;

class TechController extends BaseController
{
    protected StockService $stockService;

    public function __construct(StockService $stockService)
    {
        $this->stockService = $stockService;
    }

    /**
     * @apidoc 持续强势/弱势列表 | 股票
     * @param Request $request
     * @return \Illuminate\Http\JsonResponse
     */
    public function continueList(Request $request)
    {
        $resp = $this->stockService->getContinueList($request);

        return \ApiResponse::success($resp);
    }
}
